-
Notifications
You must be signed in to change notification settings - Fork 225
Fix theme profile when running on Windows WSL
#6830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
b821c13 to
60cea04
Compare
|
/snapit |
Coverage report
Test suite run success3720 tests passing in 1439 suites. Report generated by 🧪jest coverage report action from a4b6164 |
|
🫰✨ Thanks @EvilGenius13! Your snapshot has been published to npm. Test the snapshot by installing your package globally: npm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260206155007Caution After installing, validate the version by running just |
1d63b39 to
63db1e3
Compare
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationsWe found no new type declarations in this PR Existing type declarationspackages/cli-kit/dist/public/node/system.d.ts@@ -63,6 +63,16 @@ export declare function isCI(): boolean;
* @returns True if the current environment is a WSL environment.
*/
export declare function isWsl(): Promise<boolean>;
+/**
+ * Converts a Linux path to a Windows-accessible WSL path.
+ * Returns the Windows UNC path format (//wsl$/distro/path) if running in WSL,
+ * otherwise returns the original path unchanged.
+ * Works on both WSL1 and WSL2.
+ *
+ * @param linuxPath - The Linux filesystem path to convert.
+ * @returns Windows UNC path if in WSL, otherwise the original path.
+ */
+export declare function convertWslPath(linuxPath: string): string;
/**
* Check if stdin has piped data available.
* This distinguishes between actual piped input (e.g., )
|
e725d97 to
6bc16fe
Compare
|
/snapit |
|
🫰✨ Thanks @EvilGenius13! Your snapshot has been published to npm. Test the snapshot by installing your package globally: npm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260209205123Caution After installing, validate the version by running just |
6bc16fe to
e6acc27
Compare
|
/snapit |
|
🫰✨ Thanks @EvilGenius13! Your snapshot has been published to npm. Test the snapshot by installing your package globally: npm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260209212442Caution After installing, validate the version by running just |
3cdfd85 to
b4d96e6
Compare
b4d96e6 to
a4b6164
Compare
|
We detected some changes at Caution DO NOT create changesets for features which you do not wish to be included in the public changelog of the next CLI release. |
WHY are these changes introduced?
Fixes #5414
Users running
theme profilethrough Windows WSL (Windows Subsystem for Linux) would not have the final report pop up in their browser to view.WHAT is this pull request doing?
//wsl.Ubuntu)Couple Notes:
wsl.localhostwhich was made for WSL2 and then backported to WSL1. However, if you are locked to a certain version of windows, you may not have it so I chose not to use it.How to test your changes?
You can ensure that theme profile still works by building the branch and running
theme profile. If you want to tophat it on WSL, ping me and I can show you the options.Post-release steps
Measuring impact
How do we know this change was effective? Please choose one:
Checklist